package com.huanlis.cloud.utils;

/**
 * @author lihuan
 * @since 2023/11/20 17:10:18
 */
public class ServiceException extends RuntimeException{

    Integer code;

    String message;

    public ServiceException() {
        super();
        this.message = "操作失败";
        this.code = 4000;
    }

    public ServiceException(Integer code, String message) {
        super(message);
        this.code = code;
    }
}
